home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / lang / Python152_Src.lha / Python152_Source / CHANGES.SOURCE < prev    next >
Text File  |  1999-04-27  |  6KB  |  190 lines

  1.  
  2. Changes to the original 1.5.2 source code distribution:
  3. -------------------------------------------------------
  4.  
  5. General:
  6.  
  7. At different places I've added, removed or changed some code.
  8. I tried to do this by using the preprocessor symbols:
  9. _AMIGA : Defined when compiling on Amiga.
  10.          Indicates Amiga specific code.
  11. __SASC : Defined when compiling with the SAS/C compiler.
  12.          Indicates SAS/C specific code.
  13. AMITCP : Defined when using AmiTCP as networking software.
  14.          Indicates AmiTCP specific code, but maybe this
  15.          is easily converted to, say, Inet.
  16. INET225: Defined when using INET-225 as networking software.
  17.  
  18.  
  19. Added subdir Amiga_Misc with:
  20.     README                  - small describing text
  21.     mkdiffs.py              - makes diffs against original distribution
  22.     Diffs/                  - output dir for mkdiff.py
  23.     make_gst.c              - for building the GST
  24.     Python_netlib/          - contains source for python_net.lib
  25.     python_net.lib          - custom version of AmiTCP's net.lib,
  26.                   including some additional code like custom
  27.                   WB startup, environment functions etc.
  28.     DISCL_and_COPYRIGHT     - my disclaimer & CWI's copyright message
  29.     testset/                - additional tests for Amiga modules
  30.     unused/                 - currently unused stuff
  31.     Docs/                   - Amiga docs for distribution
  32.  
  33.  
  34. - Supplied custom makefile for Amiga's SAS/C: SMAKEFILE.
  35.   Supplied SAS/C compiler options file: SCOPTIONS.
  36.   You don't need any of the original makefiles (just delete them if you like).
  37.   (new since 1.5: SMAKEFILE splitted, one for each main directory)
  38.  
  39. - Created Include/config.h
  40. - Created Include/protos.h
  41. - Created Modules/config.c
  42. - Created Modules/environment.c
  43. - Created Modules/amigamodule.c
  44. - Created Modules/ARexxmodule.c
  45. - Created Modules/Doslibmodule.c
  46.  
  47.  
  48. - Changes to library files in Lib drawer. These changes are also documented
  49.   in the README file. Files involved:
  50.     os.py           (amiga additions)
  51.     tempfile.py     (temp path try order is: T:, :T, SYS:T)
  52.     posixpath.py    (stub for old posixpath.py)
  53.     amigapath.py    (amiga's replacement for posixpath.py)
  54.  
  55. - Slight changes in the testset (Lib/test):
  56.   test_select.py (can't be easily tested on amiga - not on files)
  57.  
  58. - Added Lib/plat-amiga directory with files.
  59.  
  60. - Created Lib/lib-dynload directory to fix sys.exec_prefix behavior.
  61.  
  62. - Moved some unneeded files from parser to Parser/NON-AMIGA,
  63.   from Modules to Modules/NON-AMIGA, from Lib to Lib/NON-AMIGA,
  64.   and from Python to Python/NON-AMIGA.
  65.   (these files are not included in the source archive for space reasons)
  66.  
  67. - Added Prototype files for many source files.
  68.   See `protos' directories in: Modules, Objects, Parser, Python.
  69.  
  70.  
  71. Modules/main.c:
  72.     - Added Amiga version string ($VER)
  73.     - Added AmiTCP/INET init & cleanup functions to Modules/main.c
  74.         (checkXXXXlib functions)
  75.  
  76. Modules/getpath.c:
  77.     - changed #if to #ifdef
  78.     - added Amiga version of PYTHONPATH #define
  79.     - added Amiga versions for getting full path of executable,
  80.       reduce, checking if path is relative, ...
  81.  
  82. Modules/mathmodule.c:
  83.     - added prototyped versions of function macros, and for SAS/C,
  84.       versions which call the math functions directly. Calling them
  85.       through a function pointer (the default) results in bigger code
  86.       and rounding errors (!?)
  87.  
  88. Modules/md5c.c:
  89.     - added lines to use regular memcpy and memset on AMIGA
  90.  
  91. Modules/soundex.c:
  92.     - undef'd toupper macro
  93.  
  94. Modules/socketmodule.c:
  95.     - added check(s) for _AMIGA
  96.     - Added AMITCP/INET includes
  97.     - Added a couple of #defines for AMITCP/INET API
  98.     - Changed use of fcntl to IoctlSocket (for s.setblocking)
  99.     - Clear socket buffer for new socket (PySocketSock_New)
  100.  
  101. Modules/selectmodule.c:
  102.     - Added Amiga's version of select funcion (with optional 5th parameter)
  103.  
  104. Modules/timemodule.c:
  105.     - fixed proto for floattime()
  106.     - added code for floatsleep() (uses select() if available)
  107.  
  108. Modules/binascii.c:
  109.     - fixed unsigned char bytes
  110.  
  111. Modules/cmathmodule.c:
  112.     - added function definition macros with prototypes
  113.  
  114. Modules/cPickle.c:
  115.     - fixed proto for put2 & save
  116.     - added proto for write_func in Picklerobject
  117.     - added proto for read_func and readline_func in Unpicklerobject
  118.  
  119. Modules/cryptmodule.c:
  120.     - added AMITCP/INET includes
  121.  
  122. Modules/pwdmodule.c:
  123.     - added AMITCP/INET includes
  124.     - added AMITCP/INET code changes
  125.  
  126. Modules/grpmodule.c:
  127.     - added AMITCP/INET includes
  128.  
  129. Modules/syslogmodule.c:
  130.     - added AMITCP/INET includes
  131.     - added AMITCP/INET code changes
  132.  
  133. Modules/operator.c:
  134.     - added function def macros with prototypes
  135.  
  136. Modules/getbuildinfo.c:
  137.     - added proto for Py_GetBuildInfo
  138.  
  139. Include/osdefs.h:
  140.     - added AMIGA specific #defines
  141.  
  142. Include/myselect.h:
  143.     - added #include <proto/socket.h> for AMITCP/INET
  144.  
  145. Include/mymath.h:
  146.     - added SAS/C math includes
  147.  
  148. Include/compile.h:
  149.     - removed _node decl for SAS/C
  150.  
  151. Include/bitset.h:
  152.     - replaced BYTE def on _AMIGA with #include <exec/types.h>
  153.  
  154. Include/Python.h:
  155.     - added #include "protos.h"
  156.     - added #include <fcntl.h>
  157.  
  158. Include/Import.h:
  159.     - fixed proto for initfunc
  160.  
  161. Include/cStringIO.h:
  162.     - added prototype for xxxPyCObject_Import
  163.  
  164. Objects/longobject.c: (line 1787)
  165.     - changed sizeof(PyLongObject) to sizeof(struct _longobject) because of
  166.       illegal sizeof expression (?)
  167.  
  168. Objects/classobject.c:
  169.     - added prototyped version of UNARY macro
  170.  
  171. Parser/intrcheck.c:
  172.     - Added test for AMIGA for intcatcher prototype
  173.     - Added #include for fcntl.h
  174.     - Added SAS/C specific ^C handling
  175.  
  176. Python/sysmodule.c:
  177.     - Added code for absolute path check in PySys_SetArgv
  178.  
  179. Python/import.c:
  180.     - Fixed proto for GetLastModificationTime
  181.     - Fixed path building in find_module, now uses dos.library/AddPart
  182.     - Added Amiga version of check_case: now the imports are case sensitive
  183.  
  184. Python/pythonrun.c:
  185.     - Added proto for exitfuncs, parse_syntax_error
  186.     - Case insensive filename match for .pyc and .pyo
  187.  
  188. Python/sigcheck.c:
  189.     - Added stack checking code
  190.